home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Tools - Objects / MacApp / MacApp CD Release / MacApp 2.0.1 (Many Libraries) / Libraries / Printing.r < prev    next >
Encoding:
Text File  |  1990-10-25  |  2.6 KB  |  184 lines  |  [TEXT/MPS ]

  1. /*
  2.     Printing.r
  3.     MacApp® Printing Resources
  4.     Copyright © 1986-1990 Apple Computer, Inc.  All rights reserved.
  5. */
  6.  
  7. /* • Auto-Include the requirements for this source */
  8. #ifndef __TYPES.R__
  9. #include "Types.r"
  10. #endif
  11.  
  12. #ifndef __MacAppTypes__
  13. #include "MacAppTypes.r"
  14. #endif
  15.  
  16. #define      phSpoolPrintDialog            257
  17. #define      phFinderPrintDialog        258
  18. #define      phNoPages                    251
  19. #define      phWhichDoc                    261
  20. #define      kPrinting                    131
  21.  
  22.  
  23. resource 'mem!' (kPrinting,
  24. #if qNames
  25.     "kPrinting",
  26. #endif
  27.     purgeable) {
  28.     43 * 1024,            // Add to temporary reserve
  29.     0,                    // Add to permanent reserve
  30.     0                    // Add to stack space
  31. };
  32.  
  33. resource 'DLOG' (phSpoolPrintDialog,
  34. #if qNames
  35.     "phSpoolPrintDialog",
  36. #endif
  37.     purgeable) {
  38.     {118, 62, 224, 366},
  39.     dBoxProc,
  40.     visible,
  41.     noGoAway,
  42.     0x0,
  43.     phSpoolPrintDialog,
  44.     ""
  45. };
  46.  
  47. resource 'DLOG' (phFinderPrintDialog,
  48. #if qNames
  49.     "phFinderPrintDialog",
  50. #endif
  51.     purgeable) {
  52.     {110, 32, 220, 398},
  53.     dBoxProc,
  54.     visible,
  55.     noGoAway,
  56.     0x0,
  57.     phFinderPrintDialog,
  58.     ""
  59. };
  60.  
  61. resource 'DLOG' (phWhichDoc,
  62. #if qNames
  63.     "phWhichDoc",
  64. #endif
  65.     purgeable) {
  66.     {1, 1, 2, 2},
  67.     dBoxProc,
  68.     visible,
  69.     noGoAway,
  70.     0x0,
  71.     phWhichDoc,
  72.     ""
  73. };
  74.  
  75. resource 'DITL' (phNoPages,
  76. #if qNames
  77.     "phNoPages",
  78. #endif
  79.     purgeable) {
  80.     {    /* array DITLarray: 3 elements */
  81.         /* [1] */
  82.         {60, 182, 80, 262},
  83.         Button {
  84.             enabled,
  85.             "OK"
  86.         };
  87.         /* [2] */
  88.         {10, 80, 50, 270},
  89.         StaticText {
  90.             enabled,
  91.             "This document has no pages within the re"
  92.             "quested range"
  93.         };
  94.         /* [3] */
  95.         {10, 20, 42, 52},
  96.         Icon {
  97.             enabled,
  98.             1
  99.         }
  100.     }
  101. };
  102.  
  103. resource 'DITL' (phSpoolPrintDialog,
  104. #if qNames
  105.     "phSpoolPrintDialog",
  106. #endif
  107.     purgeable) {
  108.     {    /* array DITLarray: 2 elements */
  109.         /* [1] */
  110.         {72, 24, 92, 84},
  111.         Button {
  112.             enabled,
  113.             "Cancel"
  114.         };
  115.         /* [4] */
  116.         {16, 24, 60, 280},
  117.         StaticText {
  118.             disabled,
  119.             "“<<<>>>” is now being printed."
  120.         }
  121.     }
  122. };
  123.  
  124. resource 'DITL' (phFinderPrintDialog,
  125. #if qNames
  126.     "phFinderPrintDialog",
  127. #endif
  128.     purgeable) {
  129.     {    /* array DITLarray: 3 elements */
  130.         /* [1] */
  131.         {72, 16, 92, 76},
  132.         Button {
  133.             enabled,
  134.             "Cancel"
  135.         };
  136.         /* [4] */
  137.         {72, 96, 92, 246},
  138.         Button {
  139.             enabled,
  140.             "Cancel All Printing"
  141.         };
  142.         /* [5] */
  143.         {16, 50, 60, 330},
  144.         StaticText {
  145.             disabled,
  146.             "“<<<>>>” is now being printed."
  147.         }
  148.     }
  149. };
  150.  
  151. resource 'DITL' (phWhichDoc,
  152. #if qNames
  153.     "phWhichDoc",
  154. #endif
  155.     purgeable) {
  156.     {    /* array DITLarray: 1 elements */
  157.         /* [1] */
  158.         {0, 0, 0, 0},
  159.         UserItem {
  160.             disabled
  161.         }
  162.     }
  163. };
  164.  
  165. resource 'ALRT' (phNoPages,
  166. #if qNames
  167.     "phNoPages",
  168. #endif
  169.     purgeable) {
  170.     {100, 120, 190, 392},
  171.     phNoPages,
  172.     {    /* array: 4 elements */
  173.         /* [1] */
  174.         OK, visible, silent;
  175.         /* [2] */
  176.         OK, visible, silent;
  177.         /* [3] */
  178.         OK, visible, silent;
  179.         /* [4] */
  180.         OK, visible, silent
  181.     }
  182. };
  183.  
  184.